package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 学习计划表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-23 18:43:32
 */
@Data
@TableName("study_schedule")
public class StudyScheduleEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    public static String CN_ID = "id";
    public static String CN_MAIN_PROBLEM = "main_problem";
    public static String CN_NAME = "name";
    public static String CN_CONTENT_HTML = "content_html";
    public static String CN_MATERIALS_HTML = "materials_html";
    public static String CN_MATERIALS_REMARK = "materials_remark";
    public static String CN_SPECIAL_SUBJECTS_HTML = "special_subjects_html";
    public static String CN_SPECIAL_SUBJECTS = "special_subjects";
    public static String CN_TYPE = "type";
    //public static String CN_DAY = "day";
    public static String CN_START_TIME = "start_time";
    public static String CN_END_TIME = "end_time";
    public static String CN_STATUS = "status";
    public static String CN_UPDATE_TIME = "update_time";
    public static String CN_CREATE_TIME = "create_time";

    /**
     * 计划id
     */
    @TableId
    private Long id;

    /**
     * 计划主要解决的问题
     */
    private String mainProblem;

    /**
     * 计划名称
     */
    private String name;
    /**
     * 计划内容(html形式)
     */
    private String contentHtml = "";
    /**
     * 学习资源(html形式)
     */
    private String materialsHtml= "";
    /**
     * 其他学习资源
     */
    private String materialsRemark= "";
    /**
     * 专题内容(html形式)
     */
    private String specialSubjectsHtml= "";
    /**
     * 专题项（冗余，用于回显）
     */
    private String specialSubjects= "";
    /**
     * 计划类型（1-daily;2-weekly;3-monthly）
     */
    private Integer type;
    /**
     * 计划开始日期
     */
    private Date startTime;
    /**
     * 计划结束日期
     */
    private Date endTime;
    /**
     * 状态（）
     */
    private Integer status;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 创建时间
     */
    private Date createTime;

    public StudyScheduleEntity() {
    }
}
